<%@ page import="com.zuikaku.dao.UserDao" %>
<%@ page import="com.zuikaku.pojo.User" %><%--
  Created by IntelliJ IDEA.
  User: Zuikaku
  Date: 2022/3/6
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    out
    String msg = "";
    if(user!=null){
        session.setAttribute("activeUser",user);
        msg ="欢迎你:"+user.getNickname()+" 登录成功";
    }else{
        msg="账户不存在或者密码有误";
    }

%>
<%=msg%>
</body>
</html>
